package nc.impl.lb.lb_011;

import nc.itf.hr.lb.INewPayTotalInfo;
import nc.vo.hr.tools.pub.HRAggVO;
import nc.vo.lb.lb_012.TmApplyMainVO;
import nc.vo.pub.BusinessException;

public class NewPayTotalInfoImpl implements INewPayTotalInfo {

	public boolean submitApply(HRAggVO aggvo,int stats) throws BusinessException {
		TmApplyMainVO cta = (TmApplyMainVO) aggvo.getParentVO();
		
		NewPayTotalInfoDAO dao = new NewPayTotalInfoDAO();
		
		cta.setStates(stats);
		
		dao.getBaseDao().updateVO(cta, new String[]{TmApplyMainVO.STATES});
		
		return true;
	}
}

	
